export default function () {
	window.setup = () => {
		createCanvas(windowWidth, windowHeight);
	}

	window.draw = () => {
		if (mouseIsPressed) {
			fill(0);
		} else {
			fill(255);
		}
		ellipse(mouseX, mouseY, 80, 80);
	}

	let dom = document.createElement('script')
	dom.src = './p5.min.js'
	document.body.appendChild(dom)
}

// doc
// http://p5js.org/reference/#group-Color
